package com.jeomo.masterdata.starter.service;

import com.jeomo.base.starter.service.IBaseService;
import com.jeomo.masterdata.starter.entity.Level;

import java.util.List;
import java.util.Map;

/**
 * @author 崔贺
 */
public interface ILevelService extends IBaseService<Level> {

    int create(Level level);

    /**
     * 查询最新的数据装入缓存
     *
     * @return
     */
    Map<String, String> queryCache();

    void refreshCache();


    List<Level> allLevel();

    List<Level> allLevelList();
}
